home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / DIKUMUD.ZIP / VT100C.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-28  |  1.4 KB  |  47 lines

  1. /*
  2.  * File: VT100C.H
  3.  * Usage: VT100 code definitions
  4.  * Copyright ()) 1993 by Dan Brumleve and the creators of DikuMUD.
  5.  *
  6.  * Part of:
  7.  *   /\    ____                                     __     ____   |\   |
  8.  *  /__\   |___|   /\  /\    /\    __  ___  +--\   |  \   /    \  | \  |
  9.  * /    \  |   \  /  \/  \  /--\  /    [_   |   \  |   |  |    |  |  \ |
  10.  * \    /  |   /  \      /  \  /  \_]  [__  |___/  |__/   \____/  |   \|
  11.  *
  12.  * Unauthorized distribution of this source code is punishable by 
  13.  * eternal damnation to the hell pits of Suk-krath.  Have a nice day.
  14.  *
  15.  * Used with permission for SillyMUD
  16.  */
  17.  
  18.  
  19.  
  20. #define UNKNOWN       0
  21. #define VT100         1
  22.  
  23. #define VT_INITSEQ    "\033[1;24r"
  24. #define VT_CURSPOS    "\033[%d;%dH" 
  25. #define VT_CURSRIG    "\033[%dC"   
  26. #define VT_CURSLEF    "\033[%dD"    
  27. #define VT_HOMECLR    "\033[2J\033[0;0H"
  28. #define VT_CTEOTCR    "\033[K"     
  29. #define VT_CLENSEQ    "\033[r\033[2J" 
  30. #define VT_INDUPSC    "\033M"
  31. #define VT_INDDOSC    "\033D"
  32. #define VT_SETSCRL    "\033[%d;24r"
  33. #define VT_INVERTT    "\033[0;1;7m"
  34. #define VT_BOLDTEX    "\033[0;1m"
  35. #define VT_NORMALT    "\033[0m"
  36. #define VT_MARGSET    "\033[%d;%dr"
  37. #define VT_CURSAVE    "\0337"
  38. #define VT_CURREST    "\0338"
  39.  
  40.  
  41. /* Infobar stuffage added for SillyMUD */
  42. #define INFO_HP            1
  43. #define INFO_MANA          2
  44. #define INFO_MOVE          4
  45. #define INFO_EXP           8
  46. #define INFO_GOLD          16
  47.